import {configureStore} from "@reduxjs/toolkit";

import userReducer from "./modules/userSlice";
import settingSlice from "./modules/settingSlice.ts";
import routerSlice from "./modules/routerSlice.ts";
import themeReducer from "./modules/theme/themeSlice.ts"
import {tabSlice} from "@/store/modules/tabs";
// import {tabSlice} from "@/store/modules/tabs";

const store = configureStore({
    reducer: {
        theme: themeReducer,
        user: userReducer,
        setting: settingSlice,
        router: routerSlice,
        tabs: tabSlice.reducer
    }
})


export default store
